package university;

import numbers.FastGrowingNumberGenerator;
import numbers.INumberGenerator;
import numbers.SuperstitionRespectingNumberGenerator;


public class RegistrationConfigurationUtil {

	public static void configureToGetHighMatriculationNumbers(RegistrarsOffice office) {
		INumberGenerator generator = new FastGrowingNumberGenerator(10100, 17);
		office.setMatriculationNumberGenerator(generator);
	}

	public static void configureToCareForSuperstition(RegistrarsOffice office) {
		INumberGenerator generator = new SuperstitionRespectingNumberGenerator();
		generator.setNextNumber(1010);
		office.setMatriculationNumberGenerator(generator);
	}

}
